<?php
use yii\bootstrap\ActiveForm;
use yii\helpers\Html;
?>  
<style type="text/css">
    .categorynew{
        width: 200px;
        margin-bottom: 5px;
    }
    
</style>
<!-- 右侧开始--个人基本信息 -->
	<div class="rightArea">
		<div class="screening_box">
        	<div class="page-header">
    			<h1>添加分类</h1>
                  <?php 
                  $form= ActiveForm::begin([
                           'options'=>['class'=>'form-horizontal'],
                   ])?>

                                        <div class="form-group field-knowledgemodel-knowid">
                    <div class="control-label col-sm-3"><label class="control-label" for="knowledgemodel-knowid">分类名称</label></div>
                    <div class="col-sm-6"><input type="text" id="knowledgemodel-knowid" class="form-control" name="KnowledgeModel[knowid]"></div>
                    </div>

                    <div class="form_group field-nikename">
                	<label class="control-label col-sm-3" for="profile-email">上级分类</label>
                    <div class="col-sm-6 knowclassify-edit">
				<input type="hidden" name="Profile[gender]" value="">
                                <div class="form-group field-knowledgemodel-classifysubject">
                                    <div class="col-sm-12">
                                        <select id="knowledgemodel-classifysubject" class="user-addknow-classify categorynew" name="KnowledgeModel[classifysubject]">
                                    <option value="0">--请选择--</option>
                                    <option value="数学">小学</option>
                                    <option value="物理">|---一年级</option>
                                    <option value="化学">|---二年级</option>
                                    <option value="物理">初中</option>
                                    <option value="化学">|---七年级</option>
                                    <option value="化学">|---八年级</option>
                                    </select></div>
                                </div>                                              	
                                <div class="help-block help-block-error "></div>
                </div>
                </div>
                

                        
                <div class="form-group">
                    
    				<div class="col-sm-3"></div>
                                <div class="col-sm-6">
                                    <?php echo Html::submitButton('添加',['class'=>'btn btn-primary'])?>
                                </div>
		</div>
			<?php ActiveForm::end()?>
			</div>
                    
        </div>    	
            
	</div>